<!DOCTYPE html>  
<html>  
  <head>  
    <title>Syntax</title>
    <script type="text/javascript">  
       document.write("Hello world <br>"); 
    </script>
    <script type="text/javascript" src="demo01.js"></script>
  </head>
  <body>  
    <script type="text/javascript">  
       document.write("Hello world <br>"); 
    </script>
  </body>  
</html>